<!--content start-->
<TABLE class="content">

<?php if ($apps) { ?>

<!--apps start-->
	<TR>
		<TD>
			<?php echo $lang['select_app']; ?>: 
	<?php foreach($apps as $apps_k => $apps_v){ ?>
			<a href="?app=<?php echo $apps_v; ?>">
		<?php echo $apps_v; ?>
			</a>
	<?php } ?>
		</TD>
	</TR>
<!--apps end-->

<?php } elseif ($app_name) { ?>

<!--app_name_exists start-->

  <!--selected_app start-->
	<TR>
		<TD>
	<?php echo $lang['selected_app']; ?>:  
			<a href="?app=<?php echo $app_name; ?>">
		<?php echo $app_name; ?>
			</a>
		</TD>
	</TR>
  <!--selected_app end-->

  <!--selected_moudel start-->
	<TR>
		<TD>
			<?php echo $lang['selected_moudel']; ?>:
	<?php if ($parent_moudel_link) { ?>
		<?php foreach ($parent_moudel_link as $parent_moudel_link_k => $parent_moudel_link_v) { ?>
			<a href="?app=<?php echo $app_name; ?>&&moudel=<?php echo $parent_moudel_link_v; ?>" style="margin-left: 30px;">
			<?php echo $parent_moudel_link_k; ?> >>
			</a>
		<?php } ?>
	<?php } ?>
			<?php echo $show_moudel_name; ?>
		</TD>
	</TR>
  <!--selected_moudel end-->

  <!--moudels start-->
	<TR>
		<TD>
			<?php echo $lang['moudel_list']; ?>: 
	<?php if ($moudels) { ?>
		<?php foreach($moudels as $moudels_k => $moudels_v){ ?>
			<a href="?app=<?php echo $app_name; ?>&&moudel=<?php echo $moudle_all_name[$moudels_k]; ?>" style="margin-left: 30px;">
			<?php echo $moudels_k; ?>
			</a>
		<?php } ?>
	<?php } else { ?>
			<?php echo $lang['moudel_list_empty']; ?>			
	<?php } ?>
		</TD>
	</TR>
  <!--moudels end-->

  <!--core start-->
	<TR>
		<TD>
			<?php echo $lang['moudel_core']; ?>: 
			<?php if ($moudel_files['core']) { ?>
				<a href="<?php echo $app_path; ?>/core/del?app_root=<?php echo $app_root; ?>&&moudel_name=<?php echo $moudel_name; ?>">
				<?php echo $lang['true']; ?>
				</a>
			<?php } else { ?>
				<a href="<?php echo $app_path; ?>/core/add?app_root=<?php echo $app_root; ?>&&moudel_name=<?php echo $moudel_name; ?>">
				<?php echo $lang['false']; ?>
				</a>
			<?php } ?>
		</TD>
	</TR>
  <!--core end-->

  <!--exception start-->
	<TR>
		<TD>
			<?php echo $lang['moudel_exception']; ?>: 
			<?php if ($moudel_files['exception']) { ?>
				<?php echo $lang['true']; ?>
				<?php echo $exception_del_form['form_start']; ?>
				<?php echo $exception_del_form['moudel_name']; ?>
				<?php echo $exception_del_form['app_root']; ?>
				<?php echo $exception_del_form['submit']; ?>
				</form>
			<?php } else { ?>
				<?php echo $lang['false']; ?>
				<?php echo $exception_add_form['form_start']; ?>
				<?php echo $exception_add_form['moudel_name']; ?>
				<?php echo $exception_add_form['app_root']; ?>
				<?php echo $exception_add_form['submit']; ?>
				</form>
			<?php } ?>
		</TD>
	</TR>
  <!--exception end-->

  <!--apache404 start-->
	<TR>
		<TD>
			<?php echo $lang['moudel_apache404']; ?>: 
			<?php if ($moudel_files['apache404']) { ?>
			<?php echo $lang['true']; ?>
				<?php echo $apache404_del_form['form_start']; ?>
				<?php echo $apache404_del_form['moudel_name']; ?>
				<?php echo $apache404_del_form['app_root']; ?>
				<?php echo $apache404_del_form['parent_moudel_name']; ?>
				<?php echo $apache404_del_form['submit']; ?>
				</form>
			<?php } else { ?>
			<?php echo $lang['false']; ?>
				<?php echo $apache404_add_form['form_start']; ?>
				<?php echo $apache404_add_form['moudel_name']; ?>
				<?php echo $apache404_add_form['app_root']; ?>
				<?php echo $apache404_add_form['parent_moudel_name']; ?>
				<?php echo $apache404_add_form['submit']; ?>
				</form>
			<?php } ?>
		</TD>
	</TR>
  <!--apache404 end-->

  <!--controller_list start-->
	<TR>
		<TD>
			<?php echo $lang['moudel_controller_list']; ?>: 
			<?php if ($controller_list) { ?>
				<?php foreach ($controller_list as $controller_list_k => $controller_list_v) { ?>
					<?php echo $controller_list_k; ?>
				<?php } ?>
			<?php } ?>
		</TD>
	</TR>
  <!--controller_list end-->

  <!--add_page start-->
	<TR>
		<TD>
			<?php echo $lang['add_page']; ?>: 
			<?php echo $page_add_form['form_start']; ?>
			<?php echo $page_add_form['page_name']; ?>
			<?php echo $page_add_form['app_root']; ?>
			<?php echo $page_add_form['moudel_name']; ?>
			<?php echo $page_add_form['submit']; ?>
			</form>
		</TD>
	</TR>
  <!--add_page end-->

  <!--del_page start-->
	<TR>
		<TD>
			<?php echo $lang['del_page']; ?>: 
			<?php echo $page_del_form['form_start']; ?>
			<?php echo $page_del_form['page_name']; ?>
			<?php echo $page_del_form['app_root']; ?>
			<?php echo $page_del_form['moudel_name']; ?>
			<?php echo $page_del_form['submit']; ?>
			</form>
		</TD>
	</TR>
  <!--del_page end-->

  <!--add_moudel start-->
	<TR>
		<TD>
			<?php echo $lang['add_moudel']; ?>: 
			<?php echo $moudel_add_form['form_start']; ?>
			<?php echo $moudel_add_form['moudel_name']; ?>
			<?php echo $moudel_add_form['app_root']; ?>
			<?php echo $moudel_add_form['parent_moudel_name']; ?>
			<?php echo $moudel_add_form['submit']; ?>
			</form>
		</TD>
	</TR>
  <!--add_moudel end-->

  <!--del_moudel start-->
	<TR>
		<TD>
			<?php echo $lang['del_moudel']; ?>: 
			<?php echo $moudel_del_form['form_start']; ?>
			<?php echo $moudel_del_form['moudel_name']; ?>
			<?php echo $moudel_del_form['app_root']; ?>
			<?php echo $moudel_del_form['parent_moudel_name']; ?>
			<?php echo $moudel_del_form['submit']; ?>
			</form>
		</TD>
	</TR>
  <!--del_moudel end-->

<!--app_name_exists end-->

<?php } ?>

</TABLE>
<!--content end-->